package com.aiyan.edu.service.order;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author: zqzhou
 * @create: 2019/11/24 16:06
 **/
@EnableScheduling
@EnableEurekaClient
@SpringBootApplication
@EntityScan("com.aiyan.edu.framework.domain.task")
@ComponentScan(basePackages = {"com.aiyan.edu.api"})
@ComponentScan(basePackages = {"com.aiyan.edu.framework"})
@ComponentScan(basePackages = {"com.aiyan.edu.service.order"})
public class OrderServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderServiceApplication.class, args);
    }
}